Event Timeline
Comment Actions
I've fixed most of these here except the last two.
This error is due to us having multiple class declarations in a single file. Configuration.php currently contains declarations for Configuration, ConfigurationException and ConfigurationKeyException
vagrant@mwv:/vagrant/srv/SmashPig$ ./vendor/bin/phpcs -n FILE: /vagrant/srv/SmashPig/Core/Configuration.php ---------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ---------------------------------------------------------------------- 271 | ERROR | Only one object structure is allowed in a file 277 | ERROR | Only one object structure is allowed in a file ----------------------------------------------------------------------
This error is expecting us to use the mediawiki global prefix in Smashpig which I feel like we don't want to do so this might be a candidate to be ignored
FILE: /vagrant/srv/SmashPig/Maintenance/MaintenanceBase.php ------------------------------------------------------------------------------------ FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------ 104 | ERROR | Global variable "$maintClass" is lacking an allowed prefix ('wg'). | | Should be "$wgMaintClass". ------------------------------------------------------------------------------------