diff --git a/.idea/php.xml b/.idea/php.xml index 2600f39..d8075fa 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -54,12 +54,21 @@ + + + + + + + + + diff --git a/.pman.conf b/.pman.conf index b25e544..a93dc36 100644 --- a/.pman.conf +++ b/.pman.conf @@ -4,7 +4,7 @@ UPSTREAM=dev74 DEVELOP=dev82 FEATURE=wip82/ RELEASE=rel82- -MAIN=dist82 +MAIN=main82 TAG_PREFIX= TAG_SUFFIX=p82 HOTFIX=hotf82- @@ -13,15 +13,13 @@ NOAUTO= AFTER_CREATE_RELEASE=' set -x -pman --composer-select-profile dist -composer u || exit 1 +pcomp-select-profile.php dist git commit -am "deps de dist" true ' AFTER_MERGE_RELEASE=' set -x -pman --composer-select-profile dev -composer u || exit 1 +pcomp-select-profile.php dev git commit -am "deps de dev" true ' diff --git a/src/phpss/wsutils.php b/src/phpss/wsutils.php index 14a3152..d20d489 100644 --- a/src/phpss/wsutils.php +++ b/src/phpss/wsutils.php @@ -1,7 +1,7 @@ getSheetCount(); if ($wsname < 1 || $wsname > $sheetCount) { - throw ValueException::invalid_value($wsname, "sheet index"); + throw exceptions::invalid_value($wsname, "sheet index"); } $ws = $ss->getSheet($wsname - 1); } else { $ws = $ss->getSheetByName($wsname); if ($ws === null) { if ($create) $ws = $ss->createSheet()->setTitle($wsname); - else throw ValueException::invalid_value($wsname, "sheet name"); + else throw exceptions::invalid_value($wsname, "sheet name"); } } return $ws;