File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed
Database/Functional/Driver/Common/Schema Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -623,6 +623,15 @@ public function isReadonlySchema(): bool
623623 return $ this ->getAttributes ()['readonlySchema ' ] ?? false ;
624624 }
625625
626+ /**
627+ * Get column comment.
628+ * An empty string will be returned if the feature is not supported by the driver.
629+ */
630+ public function getComment (): string
631+ {
632+ return '' ;
633+ }
634+
626635 /**
627636 * Shortcut for AbstractColumn->type() method.
628637 *
@@ -785,13 +794,4 @@ protected function formatDatetime(
785794 default => $ value ,
786795 };
787796 }
788-
789- /**
790- * Get column comment.
791- * An empty string will be returned if the feature is not supported by the driver.
792- */
793- public function getComment (): string
794- {
795- return '' ;
796- }
797797}
Original file line number Diff line number Diff line change 55namespace Cycle \Database \Tests \Functional \Driver \Common \Schema ;
66
77// phpcs:ignore
8- use Cycle \Database \ColumnInterface ;
98use Cycle \Database \Tests \Functional \Driver \Common \BaseTest ;
109use Cycle \Database \Tests \Utils \DontGenerateAttribute ;
1110
Original file line number Diff line number Diff line change 55use Cycle \Database \Tests \Utils \DontGenerateAttribute ;
66use Spiral \Tokenizer ;
77
8- error_reporting (E_ALL | E_STRICT );
9- ini_set ('display_errors ' , '1 ' );
8+ \ error_reporting (E_ALL | E_STRICT );
9+ \ ini_set ('display_errors ' , '1 ' );
1010
1111//Composer
12- require_once dirname (__DIR__ ) . '/vendor/autoload.php ' ;
12+ require_once \ dirname (__DIR__ ) . '/vendor/autoload.php ' ;
1313
1414$ tokenizer = new Tokenizer \Tokenizer (new Tokenizer \Config \TokenizerConfig ([
1515 'directories ' => [__DIR__ . '/Database/Functional/Driver/Common ' ],
6767 \str_replace ('\\' , '/ ' , $ class ->getFileName ()),
6868 );
6969
70- $ path = ltrim ($ path , '/ ' );
70+ $ path = \ ltrim ($ path , '/ ' );
7171
7272 foreach ($ databases as $ driver => $ details ) {
7373 $ filename = $ details ['directory ' ] . $ path ;
You can’t perform that action at this time.
0 commit comments