Questions tagged [scrutinizer]

Scrutinizer is a free-to-use (open-source) + commercial code analysis-tool, running automated code quality tests against your code.

Scrutinizer is a free-to-use (open-source) + commercial code analysis-tool, running automated code quality tests against your code.

References

37 questions
0
votes
1 answer

How to fail a build on Scrutinizer based on phpcs output?

I've tried configuring Scrutinizer to fail whenever the CodeSniffer analysis returns some errors with no luck. Here's what I tried so far: V1: build: tests: override: command: './vendor/bin/phpcs ./src --report=checkstyle…
lsouza
  • 2,448
  • 4
  • 26
  • 39
0
votes
1 answer

Scrutinizer-ci configuring PHP Code Sniffer

Apparently there are two ways to configure scrutinizer-ci to use custom phpCodeSniffer standards. The documentation only mentions phpcs use in "build" node and it isn't clear if they do different things or if one is preferred over the other. Docs…
Andrei
  • 148
  • 6
0
votes
1 answer

Worst rated PHP Operations declared by Scrutinizer

I use scrutinizer to analyse my code, and I get a function declared: Worst rated PHP Operations This is the function: /** * Insert Empty Fighters in an homogeneous way. * * @param Collection $fighters * @param Collection $byeGroup * *…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
0
votes
1 answer

In scrutinizer PHP7.1 + apache2 environment crashes

I have this scrutinizer environment build: environment: php: '7.1' node: '4.2.2' selenium: version: '2.53' hosts: domainselenium: '127.0.0.1' domainweb.docker: '127.0.0.1' …
Jānis Gruzis
  • 905
  • 1
  • 10
  • 25
0
votes
1 answer

Scrutinizer - PSQL - Access denied with postgres user

This is my configuration for Scrutinizer instances : build: dependencies: before: - psql -c 'CREATE DATABASE db_name WITH OWNER scrutinizer;' - psql -c "ALTER ROLE postgres WITH PASSWORD 'postgres'" - psql -c 'GRANT ALL…
bizzr3
  • 1,925
  • 4
  • 24
  • 37
0
votes
1 answer

Scrutinizer score optimization

I started developping an image manipulation library and decided to go with Scrutinizer for the testing and inspection in one cool package but i'm not sure how to optimize my code to limit some of the stats that are degrading the overall score. The…
Mathieu Dumoulin
  • 12,126
  • 7
  • 43
  • 71
-2
votes
1 answer

Setting scrutinizer-ci with gcloud

Using gcloud in scrutinizer-ci, I want to automatically deploy to gcp. There is no information anywhere, but who has something done?
1 2
3