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