@@ -507,7 +507,7 @@ public function test_it_cannot_add_an_non_existent_file_to_the_phar(): void
507507 self ::fail ('Expected exception to be thrown. ' );
508508 } catch (InvalidArgumentException $ exception ) {
509509 self ::assertSame (
510- 'The file "/nowhere/foo" does not exist . ' ,
510+ 'The path "/nowhere/foo" is not a file . ' ,
511511 $ exception ->getMessage (),
512512 );
513513 self ::assertNull ($ exception ->getPrevious ());
@@ -1068,7 +1068,7 @@ public function test_it_cannot_add_an_non_existent_files_to_the_phar(): void
10681068 self ::fail ('Expected exception to be thrown. ' );
10691069 } catch (InvalidArgumentException $ exception ) {
10701070 self ::assertSame (
1071- 'The file "/nowhere/foo" does not exist . ' ,
1071+ 'The path "/nowhere/foo" is not a file . ' ,
10721072 $ exception ->getMessage (),
10731073 );
10741074 self ::assertNull ($ exception ->getPrevious ());
@@ -1273,7 +1273,7 @@ public function test_cannot_set_non_existent_file_as_stub_file(): void
12731273 self ::fail ('Expected exception to be thrown. ' );
12741274 } catch (Exception $ exception ) {
12751275 self ::assertSame (
1276- 'The file "/does/not/exist" does not exist . ' ,
1276+ 'The path "/does/not/exist" is not a file . ' ,
12771277 $ exception ->getMessage (),
12781278 );
12791279 }
@@ -1545,7 +1545,7 @@ public function test_it_cannot_sign_the_phar_with_a_non_existent_file_as_private
15451545 self ::fail ('Expected exception to be thrown. ' );
15461546 } catch (InvalidArgumentException $ exception ) {
15471547 self ::assertSame (
1548- 'The file "/does/not/exist" does not exist . ' ,
1548+ 'The path "/does/not/exist" is not a file . ' ,
15491549 $ exception ->getMessage (),
15501550 );
15511551 }
0 commit comments