{"push_id":745558581,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"9c6e7c84880c457a836fea4c9f4668ef766765dd","before":"b03af96129159098c0b34b1950769f3f198dd9cd","commits":[{"sha":"11c5be9916ee46690507cb004053a3773e699436","author":{"email":"f733c5748276bd3ff4b5832e6ae481a1635f2d84@hoa-project.net","name":"Ivan Enderlin"},"message":"Test `ext/mbstring` availability globally.\n\nFirst, in the constructor, we tested whether the `ext/mbstring`\nextension was available or not. This check was made each time the\nconstructor run. This is useless and we can optimize it. Second, some\nstatic methods were using `ext/mbstring`, so this check was not made and\nthis situation could lead to unexpected errors.\n\nThis patch introduces and testes the `checkMbString` static method. As\nits name suggests, it checks whether the `ext/mbstring` extension is\navailable or not.\n\nWe finally use this method globally, after the class declaration, and\nthrow an exception if the extension is not available.","distinct":true,"url":"https://api.github.com/repos/hoaproject/Ustring/commits/11c5be9916ee46690507cb004053a3773e699436"},{"sha":"4cf922258a87eeb7edc592b45b21c6cf67b9bc5a","author":{"email":"f733c5748276bd3ff4b5832e6ae481a1635f2d84@hoa-project.net","name":"Ivan Enderlin"},"message":"Fix CS.","distinct":true,"url":"https://api.github.com/repos/hoaproject/Ustring/commits/4cf922258a87eeb7edc592b45b21c6cf67b9bc5a"},{"sha":"9c6e7c84880c457a836fea4c9f4668ef766765dd","author":{"email":"f733c5748276bd3ff4b5832e6ae481a1635f2d84@hoa-project.net","name":"Ivan Enderlin"},"message":"`ext/iconv` is suggested, no longer required.\n\nFirst, this patch introduces and testes the `checkIconv` static method\nthat checks whether the `ext/iconv` extension is available or not.\n\nSecond, this method is used in the `Ustring::transcode` static method to\ntest whether this extension is available. If not, then an exception is\nthrown.\n\nFinally, because this is only for one method **and** to allow third\nimplementation to be used instead of the official `ext/iconv` extension,\nthis extension is now suggested instead of required in the\n`composer.json` file. It removes one (strong) dependency to projects\nusing `hoa/ustring` if they are sure to not use\n`Hoa\\Ustring::transcode`.","distinct":true,"url":"https://api.github.com/repos/hoaproject/Ustring/commits/9c6e7c84880c457a836fea4c9f4668ef766765dd"}]}