[TYPO3-core] FYI24: #8934: lowlevel: change compatibility version to 4.3.0

Michael Stucki michael at typo3.org
Fri Jul 11 23:54:29 CEST 2008


Dmitry Dulepov [typo3] wrote:

> I am however in doubt now... I wanted to set minimum to 4.3.0 but it turns
> out that EM complain that 4.3-dev is less than 4.3.0 and exts give
> warnings again. What should we do? Just ignore it? It will go away
> automatically when we release 4.3.0. I do not think setting 4.2.999 as the
> minimum is a good idea.
> 
> Should we stick to 4.3.0-4.3.99 as in the last patch?

Fix the routine (PHPs version_compare can't deal with "-dev") and
replace "-dev" with "". Plus, if the resulting string is only 3 chars long,
append ".0" to it:

4.3-dev => 4.3.0
4.2.2-dev => 4.2.2
etc.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list