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
1
vote
2 answers

How to install ext-gd for php7.4 at scrutinizer-ci config?

After some point, Scrutinizer started permanently failing when trying to analyse Sylius plugins code with next errors: - sylius/sylius v1.7.3 requires ext-gd * -> the requested PHP extension gd is missing from your system. - sylius/sylius v1.7.2…
igormukhingmailcom
  • 465
  • 1
  • 6
  • 9
1
vote
1 answer

Scrutinizer: install custom composer packages?

I have a Github project in Scrutinizer, that has an optional recommended package in its composer.json. I would like to install this optional package during the Scrutinizer build, but could not find any information on how to do so in the Scrutinizer…
AeonOfTime
  • 956
  • 7
  • 10
1
vote
1 answer

CakePHP 3 - How to do document useImmutable() method in bootstrap.php

We use scrutinizer to inspect our code. Here is one "bug" related to phpdoc: useImmutable(); Error message: The method useImmutable() does not exist on…
Salines
  • 5,674
  • 3
  • 25
  • 50
1
vote
0 answers

Laravel/Scrutinizer: The property username does not seem to exist on App\User. Are you sure there is no database migration missing?

I have this issue from several days in Scrutinizer CI. I would get ride of it, but don't know how to do. This is the migration script: public function up() { Schema::create('users', function (Blueprint $table) { …
sineverba
  • 5,059
  • 7
  • 39
  • 84
1
vote
1 answer

Failed opening 'PHPUnit/Autoload.php'

I've been searching and searching for solutions but I still can't figure out why is this happening. I have another project with the same setup but it doesnt give this error. Runs fine in local but throws error like this in scrutinizer Warning…
Þaw
  • 2,047
  • 4
  • 22
  • 39
1
vote
2 answers

Scrutinizer: build and test in a subdirectory

I have a repo with both front and backend application and i want to use scrutinizer to build and test my backend (PHP) application. How can i tell (or configure) scrutinizer to build and test my application in this subdirectory? Here is the basic…
jmleroux
  • 947
  • 6
  • 17
1
vote
1 answer

How to satisfy Scrutinizer when javascript variable is created using wp_localize_script()

I'm using Bitbucket and have Scrutinizer configured to analyze code when uploaded. It complains about a variable not being declared and it causes a hit on code grading. The variable txtVars seems to be never declared. If this is a global, …
rwkiii
  • 5,716
  • 18
  • 65
  • 114
1
vote
1 answer

Scrutinizer can't find .jshintrc

I'm trying out tools for opensource projects, like travis and scrutinizer. In my root folder of github project I have both .jshintrc and .scrutinizer.yml. But, when I enable jshint tool in scrutinizer config file it reports that Can't find config…
Misiur
  • 5,019
  • 8
  • 38
  • 54
0
votes
0 answers

Phpunit code coverage on Laravel project with Scrutinizer

I'm trying to get the PHPUnit code coverage for a Laravel project with Scrutinizer. But when I schedule an inspection the process block at this line of the config file. mysql -uroot -e "CREATE DATABASE IF NOT EXISTS scrutinize" And I keep getting…
Davide Casiraghi
  • 15,591
  • 9
  • 34
  • 56
0
votes
1 answer

How to set up ScrutinizerCI for running NightwatchJS UI tests

So, our company is using Scrutinizer CI (https://scrutinizer-ci.com/) for Python code analysis/coverage. But also we need to setup Scrutinizer CI for running NightwatchJS UI tests. I've already read Scrutinizer manual, but there is no detailed guide…
paveltk
  • 3
  • 1
  • 4
0
votes
1 answer

Scrutinizer old Ubuntu 14.04

I just saw that my Scrutinizer builds runs on Ubuntu 14.04 scrutinizer@container-0:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty Is there a way to use…
Bouffe
  • 770
  • 13
  • 37
0
votes
2 answers

Scrutinizer - skip some phpunits

I want to skip some phpunit tests in scrutinizer. How can I achive the same? Where do I need to do configuration changes for the same?
0
votes
1 answer

Scrutinizer and specific test from phpunit

I have this phpunit.xml file: tests
sineverba
  • 5,059
  • 7
  • 39
  • 84
0
votes
1 answer

Scrutinizer: how exclude phpunit (or a not commited file containing api keys?)

In my phpunit test I require_once an api_key.php that of course I have in my .gitignore (it contains my own api keys).
sineverba
  • 5,059
  • 7
  • 39
  • 84
0
votes
1 answer

Scrutinizer: it always install node 6.11 instead of 8.10

I'm configuring the scrutinizer tools but it appears i'm doing something wrong. In the configuration system (https://scrutinizer-ci.com/g/Rebolon/json-reviver/settings/build-config) i use this setup: build: nodes: analysis: …
Rebolon
  • 1,257
  • 11
  • 29