Ran
|
Jobs
6
|
Files
108
|
Run time
7min
|
Badge
Embed ▾
README BADGES
|
travis-ci
:sparkles: PHP 7.4: new NewProcOpenCmdArray sniff > proc_open() now accepts an array instead of a string for the command. In > this case the process will be opened directly (without going through a > shell) and PHP will take care of any necessary argument escaping. > > `proc_open(['php', '-r', 'echo "Hello World\n";'], $descriptors, $pipes);` Refs: * https://github.com/php/php-src/blob/3775d47ee/UPGRADING#L323-L327 * https://github.com/php/php-src/commit/8be051015 Includes unit tests.
31 of 31 new or added lines in 1 file covered. (100.0%)
3962 of 4193 relevant lines covered (94.49%)
33.68 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
2 |
93.55 |
PHPCompatibility/Sniffs/ParameterValues/NewProcOpenCmdArraySniff.php |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|