Ticket #1035 (closed task: fixed)

Opened 3 years ago

Last modified 5 months ago

use the ?: operator wher it is possible

Reported by: laurentj Owned by:
Priority: normal Milestone: Jelix 1.5.0
Component: jelix Version: trunk
Severity: trivial Keywords:
Cc: Php version: 5.3
Hosting Provider: Blocked By:
Documentation needed: no Blocking: 463

Description (last modified by laurentj) (diff)

There are certainly some line of code where we used the ? operator and where we coulde use the syntax of the new ?: operator in PHP 5.3.

Change History

Changed 3 years ago by laurentj

  • description modified (diff)

Changed 17 months ago by laurentj

  • status changed from new to confirmed

Changed 11 months ago by laurentj

  • milestone changed from Jelix 2.0 to Jelix 1.5

Changed 5 months ago by laurentj

  • status changed from confirmed to closed
  • resolution set to fixed

Some ternal operators have been converted with the new syntax. probably there are still of them somewhere, but we can close this ticket

 https://github.com/jelix/jelix/commit/eb21bbdd9d4227af0753b94954c0ed4fd4fd721d

Note: See TracTickets for help on using tickets.