File tree Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -632,25 +632,6 @@ public function setCategory($category)
632632 $ this ->category = $ category ;
633633 }
634634
635- public function hasMixins (): bool
636- {
637- return ! empty ($ this ->getTags ('mixin ' ));
638- }
639-
640- /**
641- * @return array<int,array<string,ClassReflection>>
642- */
643- public function getMixins (): array
644- {
645- $ mixins = [];
646- foreach ($ this ->getTags ('mixin ' ) as $ mixin ) {
647- $ mixins [] = [
648- 'class ' => new ClassReflection ($ mixin [0 ], -1 ),
649- ];
650- }
651- return $ mixins ;
652- }
653-
654635 /**
655636 * @return bool
656637 */
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ testPharVersionCommand() {
1919
2020testPharAbsoluteFiles () {
2121 cd $( dirname $0 ) /data/
22- ABSOLUTE_OUTPUT=$( COLUMNS=200 ${PHAR_PATH} update --no-progress --no-ansi --force ./doctum-absolute.conf.php 2>&1 )
22+ ABSOLUTE_OUTPUT=$( COLUMNS=200 ${PHAR_PATH} update --ignore-parse-errors -- no-progress --no-ansi --force ./doctum-absolute.conf.php 2>&1 )
2323 assertSame " The output must be the same" " $( cat absolute_1.out) " " ${ABSOLUTE_OUTPUT} "
2424 cd - > /dev/null
2525}
2626
2727testPharRelativeFiles () {
2828 cd $( dirname $0 ) /data/
29- RELATIVE_OUTPUT=$( COLUMNS=200 ${PHAR_PATH} update --no-progress --no-ansi --force ./doctum-relative.conf.php 2>&1 )
29+ RELATIVE_OUTPUT=$( COLUMNS=200 ${PHAR_PATH} update --ignore-parse-errors -- no-progress --no-ansi --force ./doctum-relative.conf.php 2>&1 )
3030 assertSame " The output must be the same" " $( cat relative_1.out) " " ${RELATIVE_OUTPUT} "
3131 cd - > /dev/null
3232}
You can’t perform that action at this time.
0 commit comments