72 foreach ( $errors as $info ) {
73 $msg .= $info[
'msg'] .
"\n";
74 switch ( $info[
'type'] ) {
75 case 'incompatible-core':
76 $this->incompatibleCore =
true;
78 case 'incompatible-php':
79 $this->incompatiblePhp =
true;
81 case 'missing-phpExtension':
82 $this->missingPhpExtensions[] = $info[
'missing'];
84 case 'missing-ability':
85 $this->missingAbilities[] = $info[
'missing'];
88 $this->missingSkins[] = $info[
'missing'];
90 case 'missing-extensions':
91 $this->missingExtensions[] = $info[
'missing'];
93 case 'incompatible-skins':
94 $this->incompatibleSkins[] = $info[
'incompatible'];
96 case 'incompatible-extensions':
97 $this->incompatibleExtensions[] = $info[
'incompatible'];
103 parent::__construct( $msg );