mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-10 19:28:41 +00:00
fix tests
This commit is contained in:
parent
27dc00f48b
commit
8170920ba4
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
return [
|
return [
|
||||||
'target_php_version' => null,
|
'target_php_version' => null,
|
||||||
'strict_param_checking' => true,
|
'strict_param_checking' => true,
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
<exclude-pattern>*/omsSetup/*</exclude-pattern>
|
<exclude-pattern>*/omsSetup/*</exclude-pattern>
|
||||||
<exclude-pattern>*/demoSetup/*</exclude-pattern>
|
<exclude-pattern>*/demoSetup/*</exclude-pattern>
|
||||||
<exclude-pattern>*/Routes/*</exclude-pattern>
|
<exclude-pattern>*/Routes/*</exclude-pattern>
|
||||||
|
<exclude-pattern>*/Tools/*</exclude-pattern>
|
||||||
<exclude-pattern>*/tests/*</exclude-pattern>
|
<exclude-pattern>*/tests/*</exclude-pattern>
|
||||||
<exclude-pattern>*/vendor/*</exclude-pattern>
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||||||
<exclude-pattern>*/OAuth2/*</exclude-pattern><!-- @todo: temporarily disabled-->
|
<exclude-pattern>*/OAuth2/*</exclude-pattern><!-- @todo: temporarily disabled-->
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ parameters:
|
||||||
- */demoSetup/*
|
- */demoSetup/*
|
||||||
- */d0cbb361b14ac3ef32486f0a09ab937d/*
|
- */d0cbb361b14ac3ef32486f0a09ab937d/*
|
||||||
- */test/*
|
- */test/*
|
||||||
|
- */Tools/*
|
||||||
- *Test.php
|
- *Test.php
|
||||||
- *Routes.php
|
- *Routes.php
|
||||||
- *Hooks.php
|
- *Hooks.php
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
return [
|
return [
|
||||||
// keys which start with `:` are considered localized strings used in the template not for the report.
|
// keys which start with `:` are considered localized strings used in the template not for the report.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
\ini_set('display_errors', 1);
|
\ini_set('display_errors', 1);
|
||||||
\ini_set('display_startup_errors', 1);
|
\ini_set('display_startup_errors', 1);
|
||||||
\error_reporting(\E_ALL);
|
\error_reporting(\E_ALL);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php declare(strict_types=1);
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
$postBody = $_POST['payload'] ?? '';
|
$postBody = $_POST['payload'] ?? '';
|
||||||
$payload = \json_decode($postBody, true);
|
$payload = \json_decode($postBody, true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user