Skip to content

Commit

Permalink
Merge "Remove use of deprecated E_STRICT"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Nov 15, 2024
2 parents ab093a8 + 697dce2 commit befbb01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/ci-scripts/mw-apply-wb-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function apply_repo_settings {
}

function apply_common_before_settings {
echo 'error_reporting(E_ALL| E_STRICT);' >> LocalSettings.php
echo 'error_reporting(E_ALL);' >> LocalSettings.php
echo 'ini_set("display_errors", 1);' >> LocalSettings.php
# For re-using the Wikimedia CI settings, pretend we're running in quibble
echo 'if ( !defined( "MW_QUIBBLE_CI" ) ) define( "MW_QUIBBLE_CI", true );' >> LocalSettings.php
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
die( 'Not an entry point' );
}

error_reporting( E_ALL | E_STRICT );
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

if ( !is_readable( __DIR__ . '/../vendor/autoload.php' ) ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
die( 'Not an entry point' );
}

error_reporting( E_ALL | E_STRICT );
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

if ( !is_readable( __DIR__ . '/../vendor/autoload.php' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion lib/packages/wikibase/data-model/tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
die( 'Not an entry point' );
}

error_reporting( E_ALL | E_STRICT );
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

if ( !is_readable( __DIR__ . '/../vendor/autoload.php' ) ) {
Expand Down

0 comments on commit befbb01

Please sign in to comment.