77 foreach ( $errors as $info ) {
78 $msg .= $info[
'msg'] .
"\n";
79 switch ( $info[
'type'] ) {
80 case 'incompatible-core':
81 $this->incompatibleCore =
true;
83 case 'incompatible-php':
84 $this->incompatiblePhp =
true;
86 case 'missing-phpExtension':
87 $this->missingPhpExtensions[] = $info[
'missing'];
89 case 'missing-ability':
90 $this->missingAbilities[] = $info[
'missing'];
93 $this->missingSkins[] = $info[
'missing'];
95 case 'missing-extensions':
96 $this->missingExtensions[] = $info[
'missing'];
98 case 'incompatible-skins':
99 $this->incompatibleSkins[] = $info[
'incompatible'];
101 case 'incompatible-extensions':
102 $this->incompatibleExtensions[] = $info[
'incompatible'];
108 parent::__construct( $msg );