File tree Expand file tree Collapse file tree 10 files changed +18
-29
lines changed
Expand file tree Collapse file tree 10 files changed +18
-29
lines changed Original file line number Diff line number Diff line change 3030 __DIR__ . '/admin/starter/builds ' ,
3131 ]);
3232
33- $ overrides = [
34- 'ordered_class_elements ' => [
35- 'order ' => [
36- 'use_trait ' ,
37- 'constant ' ,
38- 'property ' ,
39- 'method ' ,
40- ],
41- 'sort_algorithm ' => 'none ' ,
42- ],
43- ];
33+ $ overrides = [];
4434
4535$ options = [
4636 'cacheFile ' => 'build/.no-header.php-cs-fixer.cache ' ,
Original file line number Diff line number Diff line change 3434 __DIR__ . '/spark ' ,
3535 ]);
3636
37- $ overrides = [
38- 'ordered_class_elements ' => [
39- 'order ' => [
40- 'use_trait ' ,
41- 'constant ' ,
42- 'property ' ,
43- 'method ' ,
44- ],
45- 'sort_algorithm ' => 'none ' ,
46- ],
47- ];
37+ $ overrides = [];
4838
4939$ options = [
5040 'cacheFile ' => 'build/.php-cs-fixer.cache ' ,
Original file line number Diff line number Diff line change 1717 "require-dev" : {
1818 "codeigniter/coding-standard" : " ^1.1" ,
1919 "fakerphp/faker" : " ^1.9" ,
20- "friendsofphp/php-cs-fixer" : " ^3.1 " ,
20+ "friendsofphp/php-cs-fixer" : " ^3.6 " ,
2121 "mikey179/vfsstream" : " ^1.6" ,
2222 "nexusphp/cs-config" : " ^3.3" ,
2323 "phpunit/phpunit" : " ^9.1" ,
Original file line number Diff line number Diff line change 1717 "require-dev" : {
1818 "codeigniter/coding-standard" : " ^1.1" ,
1919 "fakerphp/faker" : " ^1.9" ,
20- "friendsofphp/php-cs-fixer" : " 3.4.* " ,
20+ "friendsofphp/php-cs-fixer" : " ^3.6 " ,
2121 "mikey179/vfsstream" : " ^1.6" ,
2222 "nexusphp/cs-config" : " ^3.3" ,
2323 "nexusphp/tachycardia" : " ^1.0" ,
Original file line number Diff line number Diff line change 11#!/usr/bin/env php
22<?php
33
4+ /**
5+ * This file is part of CodeIgniter 4 framework.
6+ *
7+ * (c) CodeIgniter Foundation <admin@codeigniter.com>
8+ *
9+ * For the full copyright and license information, please view
10+ * the LICENSE file that was distributed with this source code.
11+ */
12+
413/*
514 * --------------------------------------------------------------------
615 * CodeIgniter command-line tools
Original file line number Diff line number Diff line change 1111
1212namespace CodeIgniter \Test \Mock ;
1313
14- use Config \Security as Security ;
14+ use Config \Security ;
1515
1616/**
1717 * @deprecated
Original file line number Diff line number Diff line change 4343use CodeIgniter \View \Parser ;
4444use Config \App ;
4545use Config \Exceptions ;
46- use Tests \Support \Config \Services as Services ;
46+ use Tests \Support \Config \Services ;
4747
4848/**
4949 * @internal
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public function testCookieDispatching(): void
107107 $ prod = $ cookies ['prod ' ]->getOptions ();
108108
109109 /**
110- * @var MockObject& CookieStore $store
110+ * @var CookieStore&MockObject $store
111111 */
112112 $ store = $ this ->getMockBuilder (CookieStore::class)
113113 ->setConstructorArgs ([$ cookies ])
Original file line number Diff line number Diff line change 1414use CodeIgniter \Test \CIUnitTestCase ;
1515use CodeIgniter \Test \Mock \MockSecurity ;
1616use Config \App ;
17- use Tests \Support \Config \Services as Services ;
17+ use Tests \Support \Config \Services ;
1818
1919/**
2020 * @internal
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function testErrorLoggingWithErrorLog(): void
3535 }
3636
3737 /**
38- * @return MockObject& ErrorlogHandler
38+ * @return ErrorlogHandler&MockObject
3939 */
4040 private function getMockedHandler (array $ config = [])
4141 {
You can’t perform that action at this time.
0 commit comments