File tree Expand file tree Collapse file tree 6 files changed +25
-33
lines changed Expand file tree Collapse file tree 6 files changed +25
-33
lines changed   Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 44composer.lock 
55.php_cs.cache 
66.phpunit.result.cache 
7+ .phpunit.cache 
78phpunit.xml 
89.php-cs-fixer.cache 
910
Original file line number Diff line number Diff line change 3131        "psr-4" : {"ICalendarOrg\\ " : " src/ICalendarOrg/"  }
3232    },
3333    "require" : {
34-         "php" : " >=7.4 <8.4 " 
34+         "php" : " >=7.4 <8.5 " 
3535		},
3636		"require-dev" : {
37-         "phpunit/phpunit" : " <11 .0"  ,
37+         "phpunit/phpunit" : " <12 .0"  ,
3838        "friendsofphp/php-cs-fixer" : " ^3.3"  ,
3939        "phpstan/phpstan" : " ^1.8"  ,
40-         "phpfui/phpunit-syntax-coverage" : " ^1.0 " 
40+         "phpfui/phpunit-syntax-coverage" : " dev-master " 
4141    }
4242}
Original file line number Diff line number Diff line change 11<?xml  version =" 1.0"  encoding =" UTF-8"  ?>
2- 
3- <phpunit  backupGlobals =" false" 
4- 					backupStaticAttributes=" false" 
5- 					colors=" true" 
6- 					convertErrorsToExceptions=" true" 
7- 					convertNoticesToExceptions=" true" 
8- 					convertWarningsToExceptions=" true" 
9- 					convertDeprecationsToExceptions=" true" 
10- 					processIsolation=" false" 
11- 					stopOnFailure=" true" 
12- 					bootstrap=" ./tests/bootstrap.php" 
13- 					>
14- 
2+ <phpunit  xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" 
3+ 	backupGlobals=" false" 
4+ 	colors=" true" 
5+ 	processIsolation=" false" 
6+ 	stopOnFailure=" false" 
7+ 	displayDetailsOnTestsThatTriggerDeprecations=" true" 
8+ 	displayDetailsOnTestsThatTriggerErrors=" true" 
9+ 	displayDetailsOnTestsThatTriggerNotices=" true" 
10+ 	displayDetailsOnTestsThatTriggerWarnings=" true" 
11+ 	bootstrap=" ./tests/bootstrap.php" 
12+ 	backupStaticProperties=" false" 
13+ 	>
1514	<testsuites >
16-      <testsuite  name =" ICalendarOrg tests"  >
15+ 		 <testsuite  name =" ICalendarOrg tests"  >
1716			<directory >./tests/</directory >
1817		</testsuite >
1918	</testsuites >
Original file line number Diff line number Diff line change 77 * For the full copyright and license information, please view 
88 * the LICENSE file that was distributed with this source 
99 * code 
10-  * 
1110 */ 
11+ 
12+ use  PHPUnit \Framework \Attributes \DataProvider ;
13+ 
1214class  FileTest extends  \PHPUnit \Framework \TestCase
1315	{
1416	/** 
@@ -36,9 +38,7 @@ public static function providerICSFiles() : array
3638		return  $ contents ;
3739		}
3840
39- 	/** 
40- 	 * @dataProvider providerICSFiles 
41- 	 */ 
41+ 	#[DataProvider('providerICSFiles ' )]
4242	public  function  testICSFiles (string  $ contents , string  $ file ) : void 
4343		{
4444		$ this  ->assertNotEmpty ($ contents );
Original file line number Diff line number Diff line change 77 * For the full copyright and license information, please view 
88 * the LICENSE file that was distributed with this source 
99 * code 
10-  * 
1110 */ 
11+ 
12+ use  PHPUnit \Framework \Attributes \DataProvider ;
13+ 
1214class  ZCiCalDataNodeTest extends  \PHPUnit \Framework \TestCase
1315	{
1416	/** 
@@ -94,9 +96,7 @@ public static function providerZCiCalDataNode() : array
9496		];
9597		}
9698
97- 	/** 
98- 	 * @dataProvider providerZCiCalDataNode 
99- 	 */ 
99+ 	#[DataProvider('providerZCiCalDataNode ' )]
100100	public  function  testZCiCalDataNode (string  $ line ) : void 
101101		{
102102		$ dataNode  = new  \ICalendarOrg \ZCiCalDataNode ($ line );
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments