Skip to content

Commit 553b0c1

Browse files
authored
Merge branch 'develop' into fix/xmlformatter-invalid-values
2 parents f272d1b + 8e2db88 commit 553b0c1

132 files changed

Lines changed: 29 additions & 252 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"psr/log": "^3.0"
1818
},
1919
"require-dev": {
20-
"boundwize/structarmed": "^0.18",
20+
"boundwize/structarmed": "^0.19",
2121
"codeigniter/phpstan-codeigniter": "^2.1",
2222
"fakerphp/faker": "^1.24",
2323
"kint-php/kint": "^6.1",

‎system/Autoloader/Autoloader.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
* // register the autoloader
6161
* $loader->register();
6262
* ```
63-
*
64-
* @see \CodeIgniter\Autoloader\AutoloaderTest
6563
*/
6664
class Autoloader
6765
{

‎system/Autoloader/FileLocator.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Allows loading non-class files in a namespaced manner.
1818
* Works with Helpers, Views, etc.
19-
*
20-
* @see \CodeIgniter\Autoloader\FileLocatorTest
2119
*/
2220
class FileLocator implements FileLocatorInterface
2321
{

‎system/Autoloader/FileLocatorCached.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
/**
2020
* FileLocator with Cache
21-
*
22-
* @see \CodeIgniter\Autoloader\FileLocatorCachedTest
2321
*/
2422
final class FileLocatorCached implements FileLocatorInterface
2523
{

‎system/CLI/CLI.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
* Some of the code in this class is Windows-specific, and not
2828
* possible to test using travis-ci. It has been phpunit-annotated
2929
* to prevent messing up code coverage.
30-
*
31-
* @see \CodeIgniter\CLI\CLITest
3230
*/
3331
class CLI
3432
{

‎system/CLI/Console.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
/**
2222
* Console
23-
*
24-
* @see \CodeIgniter\CLI\ConsoleTest
2523
*/
2624
class Console
2725
{

‎system/CLI/GeneratorTrait.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,16 @@ protected function buildContent(string $class): string
399399
if (
400400
$this->sortImports
401401
&& preg_match(
402-
'/(?P<imports>(?:^use [^;]+;$\n?)+)/m',
402+
'/(?P<imports>(?:^use [^;]+;\r?$\n?)+)/m',
403403
$template,
404404
$match,
405405
)
406406
) {
407-
$imports = explode("\n", trim($match['imports']));
407+
$eol = str_contains($match['imports'], "\r\n") ? "\r\n" : "\n";
408+
$imports = explode("\n", str_replace("\r\n", "\n", trim($match['imports'])));
408409
sort($imports);
409410

410-
return str_replace(trim($match['imports']), implode("\n", $imports), $template);
411+
return str_replace(trim($match['imports']), implode($eol, $imports), $template);
411412
}
412413

413414
return $template;

‎system/Cache/CacheFactory.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
/**
2222
* A factory for loading the desired
23-
*
24-
* @see \CodeIgniter\Cache\CacheFactoryTest
2523
*/
2624
class CacheFactory
2725
{

‎system/Cache/Handlers/ApcuHandler.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
/**
2222
* APCu cache handler
23-
*
24-
* @see \CodeIgniter\Cache\Handlers\ApcuHandlerTest
2523
*/
2624
class ApcuHandler extends BaseHandler
2725
{

‎system/Cache/Handlers/BaseHandler.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
/**
2222
* Base class for cache handling
23-
*
24-
* @see \CodeIgniter\Cache\Handlers\BaseHandlerTest
2523
*/
2624
abstract class BaseHandler implements CacheInterface
2725
{

0 commit comments

Comments
 (0)