Skip to content

Commit

Permalink
fix: allow dev dependencies (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi authored Aug 24, 2021
1 parent d7e3582 commit e346742
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"**/src/Bridge/*/Test/"
]
},
"minimum-stability": "dev",
"bin": [
"src/Bridge/Symfony/bin/xezilaires"
]
Expand Down
3 changes: 2 additions & 1 deletion src/Bridge/PhpSpreadsheet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
"exclude-from-classmap": [
"/Test/"
]
}
},
"minimum-stability": "dev"
}
3 changes: 2 additions & 1 deletion src/Bridge/Spout/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@
"exclude-from-classmap": [
"/Test/"
]
}
},
"minimum-stability": "dev"
}
1 change: 1 addition & 0 deletions src/Bridge/Symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"/Test/"
]
},
"minimum-stability": "dev",
"bin": [
"bin/xezilaires"
]
Expand Down
2 changes: 1 addition & 1 deletion src/Xezilaires/SpreadsheetIteratorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function fromFile(\SplFileObject $file, Mapping $mapping): Iterator
return $this->fromSpreadsheet($spreadsheetClass::fromFile($file), $mapping);
}

throw new \RuntimeException('Install either phpoffice/phpspreadsheet or box/spout to read Excel files');
throw new \RuntimeException('Install either sigwin/xezilaires-phpspreadsheet or sigwin/xezilaires-spout to read Excel files');
}

public function fromSpreadsheet(Spreadsheet $spreadsheet, Mapping $mapping): Iterator
Expand Down
3 changes: 2 additions & 1 deletion src/Xezilaires/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"exclude-from-classmap": [
"/Test/"
]
}
},
"minimum-stability": "dev"
}

0 comments on commit e346742

Please sign in to comment.